﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Combat/Combat.master" AutoEventWireup="true"
    CodeFile="AssaultStandard.aspx.cs" Inherits="MapInfo_ProfessionalTeam_AssaultStandard"
    StylesheetTheme="Content" %>

<%@ Register Src="../../UserContral/ListPageContral.ascx" TagName="ListPageContral"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <ul class="topmenu">
        <li>攻坚组类型：<asp:DropDownList ID="ddlType" runat="server" AutoPostBack="True" DataTextField="TypeName"
            DataValueField="Id" OnSelectedIndexChanged="ddlProsType_SelectedIndexChanged">
        </asp:DropDownList>
        </li>
        <li>
            <li>
                <asp:CheckBox ID="isFlag" runat="server" AutoPostBack="True" OnCheckedChanged="isFlag_CheckedChanged"
                    Text="特勤站" />
            </li>
        </li>
    </ul>
    <div style="padding: 2px 6px; border: solid 1px #FEDBB5; margin: 4px 0; background-color: #FFFCDC">
        <div>
            <asp:Label ID="lblDepartment" runat="server">人数</asp:Label>：
            <asp:Label ID="lblHelpName" runat="server" Font-Bold="True">4</asp:Label>
        </div>
    </div>
    <table class="intable" width="100%">
        <caption>
            <span>添加装备标准</span>
        </caption>
        <tr>
            <td style="width: 10%">
                装备类别：
            </td>
            <td style="width: 71px">
                <asp:DropDownList ID="ddlDeviceClass" runat="server">
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td style="width: 10%">
                数&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 量：
            </td>
            <td style="width: 71px">
                <asp:TextBox ID="txtDeviceCount" runat="server" Width="65px"></asp:TextBox>
            </td>
            <td>
                <asp:RadioButtonList ID="rblDeviceUnit" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True" Value="0">/人</asp:ListItem>
                    <asp:ListItem Value="1">/组</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td style="width: 10%">
                &nbsp;
            </td>
            <td style="width: 71px">
                <asp:Button ID="bntSave2" runat="server" Text="保存" OnClick="bntSave2_Click" />
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
    <asp:GridView ID="GVDevice" runat="server" AutoGenerateColumns="False" Caption="<span>装备列表</span>"
        DataKeyNames="Id" OnRowCommand="GVDevice_RowCommand" OnRowDataBound="GVDevice_RowDataBound">
        <Columns>
            <asp:TemplateField>
                <ItemStyle HorizontalAlign="Center" />
                <HeaderStyle Width="30px" />
                <ItemTemplate>
                    <asp:Label ID="ID" runat="server"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="类别">
                <ItemTemplate>
                    <asp:Label runat="server" ID="DeviceClass"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="数量">
                <ItemTemplate>
                    <asp:Label runat="server" ID="lblCount"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:LinkButton runat="server" CommandArgument='<%# Eval("id") %>' ID="lkbDel" CommandName="Del"
                        OnClientClick="return confirm('是否真的删除?')" Text="删除"></asp:LinkButton>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Right" />
            </asp:TemplateField>
        </Columns>
        <HeaderStyle HorizontalAlign="Left" />
    </asp:GridView>
    <uc1:ListPageContral ID="ListPageContral1" PageSize="20" runat="server" OnPageSizeChange="ListPageContral1_PageSizeChange" />
</asp:Content>
